{template 'web/common/common'}
{template 'web/system/navbar'}
<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">
            小程序导航背景设置
        </h3>
    </div>

    <div class="panel-body">
        <form id="sign-form" class="form-horizontal" role="form" method="post" action="{url 'site/entry/system',array('m'=>'kundian_farm','op'=>'miniapp_nav_color_save','version_id'=>$_GPC['version_id'])}" name="submit" style="padding: 20px 0;">
            <div class="form-group">
                <label class="col-sm-2 control-label">导航字体颜色</label>
                <div class="col-sm-8">
                    {if $nowList['front_color']=='#ffffff'}
                    <input type="radio" name="front_color" checked value="#ffffff" id="front_color1" ><label for="front_color1">白色</label>
                    <input type="radio" name="front_color" value="#000000" id="front_color2" ><label for="front_color2">黑色</label>
                    {else}
                    <input type="radio" name="front_color" value="#ffffff" id="front_color1" ><label for="front_color1">白色</label>
                    <input type="radio" name="front_color" checked value="#000000" id="front_color2" ><label for="front_color2">黑色</label>
                    {/if}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">导航背景颜色</label>
                <div class="col-sm-8">
                    <!--<input type="text" class="form-control"  name="background_color" id="background_color" value="{$nowList['background_color']}">-->
                    {php echo tpl_form_field_color('background_color', $nowList['background_color'])}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">个人中背景颜色设置</label>
                <div class="col-sm-8">
                    <!--<input type="text" class="form-control"  name="background_color" id="background_color" value="{$nowList['background_color']}">-->
                    {php echo tpl_form_field_color('center_back_color', $nowList['center_back_color'])}
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-success">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
